package dsx.iot;

import dsx.inf.IAnswChecker;

public class _IotData extends _IotContext implements IAnswChecker {
	
	Object param;

	public Object getParam() {
		return param;
	}

	public void setParam(Object param) {
		this.param = param;
	}

	@Override
	public boolean checkAnsw(Object answ) {
		try {
			_IotData data = (_IotData)answ;
			return (data.inf.equals(inf) && data.type == 1 && data.flag.equals(flag));
		} catch (Exception ex) {
		}
		return false;
	}
	
}
